﻿using HelixToolkit.Wpf.SharpDX;
using Newtonsoft.Json;
using SharpDX;
using System.Collections.Generic;

namespace X.WPF.Controls.Models
{
    /// <summary>
    /// 标记信息表格
    /// </summary>
    public class Marker3DFeature
    {
        #region # 构造器
        /// <summary>
        /// 创建标记信息特征构造器
        /// </summary> 
        public Marker3DFeature()
        {
            this.Points = new List<Vector3>();
        }

        /// <summary>
        /// 创建标记信息特征构造器
        /// </summary> 
        public Marker3DFeature(List<Vector3> points)
        {
            this.Points = points ?? new List<Vector3>();
        }
        #endregion

        #region # 属性

        #region 3D建模 —— MeshGeometryModel3D Visual3D
        /// <summary>
        /// 3D建模
        /// </summary>
        [JsonIgnore]
        public MeshGeometryModel3D Visual3D { get; set; }
        #endregion

        #region 特征位置 —— List<Vector3> Points
        /// <summary>
        /// 特征位置
        /// </summary>
        public List<Vector3> Points { get; set; }
        #endregion

        #endregion 

    }
}